<%@ taglib prefix="s" uri="/struts-tags" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/2/27
  Time: 14:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<s:actionmessage/>
<br>
用户名：${username}
<br>
密  码：${password}
<br>
OGNL表达式
<br>
用户名：<s:property value="username"></s:property>
<br>
密  码：<s:property value="password"></s:property>
<table>
    <s:iterator value="#userList">
        <tr>
            <td><s:property value="id"/> </td>
            <td><s:property value="username"/></td>
            <td><s:property value="password"/></td></tr>
    </s:iterator>
</table>

</body>
</html>
